package com.lino.design.cuisine.impl;

import com.lino.design.cook.ICook;
import com.lino.design.cuisine.ICuisine;

/**
 * @description: 江苏菜系
 * @author: lingjian
 * @createDate: 2023/1/9 16:29
 */
public class JiangSuCuisine implements ICuisine {

    private ICook cook;

    public JiangSuCuisine(ICook cook) {
        this.cook = cook;
    }

    @Override
    public void cook() {
        cook.doCooking();
    }
}
